package com.greydawn.BuilderPattern;

/**
 * @Author: zhongwr
 * @Create: 2021/12/13 22:40
 * @Version 1.0
 * @Description: 模特，实际要创建的类
 */
public class ShowPeople {

    private String clothes;
    private String pants;
    private String hat;

    public void setClothes(String clothes) {
        this.clothes = clothes;
    }

    public void setPants(String pants) {
        this.pants = pants;
    }

    public void setHat(String hat) {
        this.hat = hat;
    }

    public void show() {
        System.out.println("这是一个穿着" + this.clothes + " 和" + this.pants + " 戴着" + hat + "的人");
    }

}
